package com.heather.exam.pojo.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.heather.exam.controller.admincontroller.AdminController;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("question_bank")
public class QuestionBank  {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField("name")
    private String name;
    @TableField("description")
    private String description;
    @TableField("before")
    private Integer before;
    @TableField("subjects_id")
    private int subjectsId;
}